DescribeMountTargets
Description
call the DescribeMountTargets interface to query mount point information.
Request Method
POST
Request Path
/apsara/route/NAS/DescribeMountTargets
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
PageSize | BODY | integer | No | 1 | the number of mount points contained in each page. value range: 1~100 default value: 10 |
MountTargetDomain | BODY | string | No | 1ca404a666-x****.cn-hangzhou.nas.aliyuncs.com | mount point domain name. |
PageNumber | BODY | integer | No | 1 | paging page number of the list. starting value (default):1 |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
FileSystemId | BODY | string | Yes | 1ca404**** | file system ID. |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
Status | string | Active | current mount point status. Includes: Active: Available Inactive: not available Description The file system can only be mounted when the status is Active. |
TotalCount | integer | 1 | the total number of mount points. |
VpcId | string | vpc-2zesj9afh3y518k9o**** | proprietary network ID. |
VswId | string | vsw-2zevmwkwyztjuoffg**** | switch ID. |
PageSize | integer | 1 | the number of mount points contained in each page. |
RequestId | string | 3BAB90FD-B4A0-48DA-9F09-2B963510A0EF | request ID. |
MountTargetDomain | string | 1ca404a666-w****.cn-hangzhou.nas.aliyuncs.com | mount point domain name. |
PageNumber | integer | 1 | paging page number of the list. |
AccessGroup | string | DEFAULT_VPC_GROUP_NAME | the name of the permission group applied to the mount point. |
NetworkType | string | Vpc | network type. |
MountTargets | array of mounttarget | No sample value for this parameter. | mount point description information set. |
MountTarget | No sample value for this parameter. | No description for this parameter. |
Example
Successful Response example
{
"Status":"Active",
"TotalCount":"1",
"VpcId":"vpc-2zesj9afh3y518k9o****",
"VswId":"vsw-2zevmwkwyztjuoffg****",
"PageSize":"1",
"RequestId":"3BAB90FD-B4A0-48DA-9F09-2B963510A0EF",
"MountTargetDomain":"1ca404a666-w****.cn-hangzhou.nas.aliyuncs.com",
"PageNumber":"1",
"AccessGroup":"DEFAULT_VPC_GROUP_NAME",
"NetworkType":"Vpc",
"MountTargets":"",
"MountTarget":""
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}